import request from '@/utils/request'

// 查询患者医保--审核不通过列表
export function listReject(query) {
  return request({
    url: '/audit/reject/list',
    method: 'get',
    params: query
  })
}

// 查询患者医保--审核不通过详细
export function getReject(id) {
  return request({
    url: '/audit/reject/' + id,
    method: 'get'
  })
}

// 新增患者医保--审核不通过
export function addReject(data) {
  return request({
    url: '/audit/reject',
    method: 'post',
    data: data
  })
}

// 修改患者医保--审核不通过
export function updateReject(data) {
  return request({
    url: '/audit/reject',
    method: 'put',
    data: data
  })
}

// 删除患者医保--审核不通过
export function delReject(id) {
  return request({
    url: '/audit/reject/' + id,
    method: 'delete'
  })
}
